<%@ page language="java" import="java.util.*,entity.*,dao.*,dao.impl.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">  
	<title>会员登录</title>
        <style type="text/css">
            *{
                padding: 0;
                margin: 0;
            }
            #apDiv1{
                width:99.5%;
                height:50px;
            }
            #apDiv2{
                width:99.5%;
                height:30px;
                margin-bottom: 20px;
                background-color: #e0f0f9;
                text-align:left;
            }
            #apDiv5{
                width:99.5%;
                height:15px;
                text-align:center;
            }
            /*.style1{
                color:#3399cc;
                font-size:36px;
            }*/
            .style1{
                font-family: "黑体";
                font-weight: bold;
                font-size: 40px;
                color: #3399cc;
            }
            .style2 {
                color: black;
                font-size: 20px;
            }
            .board td{
                color:#3399cc;
                font-size: 18px;
            }
        </style>
  </head>
  <body>
    <center>
            <div id="apDiv1">
                <div align="center" class="style1">校园BBS系统</div>
            </div>
            <div class="style2" id="apDiv2">
                &nbsp;您尚未&nbsp;&nbsp;<a href="login.html" target="_blank">登录</a>&nbsp;&nbsp;|
                &nbsp;&nbsp;<a href="reg.html" target="_blank">注册</a>
            </div>
		    <div id="apDiv4">
                <form name="loginform" action="manage/doLogin.jsp" method="post">
                    <table class="board" width="100%" border="0" cellpadding="18px" cellspacing="18px">
                        <tr>
                          <td align="right" width="45%"><span class = "body">用户名：</span></td>
                          <td>
                          <input name = "userName" type = "text" id = "userName" required="required" style="height: 28px;width: 180px;font-size: 16px;" maxlength="20"/>
                          </td>
                        </tr>
                        <tr>
                          <td align="right" width="45%"><span class = "body">密码：</span></td>
                          <td>
                          <input name = "userPass" type = "password" id = "userPass" required="required" style="height: 28px;width: 180px;font-size: 16px;" maxlength="20"/>
                          </td>
                        </tr>
                        <tr>
                            <td colspan="2" align = "center">
                                <input type="submit" name="login" id="login" value="登录" style="height:25px;width:50px;"/>
                            </td>
                        </tr>
                    </table>
                </form>
			</div>
		</center>
  </body>
</html>
